package cn.itrip.dao.mapper;

import cn.itrip.beans.pojo.ItripTradeEnds;

public interface ItripTradeEndsMapper {
    int deleteByPrimaryKey(Long id)throws  Exception;

    /**
     * 增加一条消费记录
     * @param orderNo
     * @return
     * @throws Exception
     */
    int insert(String orderNo)throws  Exception;

    int insertSelective(ItripTradeEnds record)throws  Exception;

    ItripTradeEnds selectByPrimaryKey(Long id)throws  Exception;

    int updateByPrimaryKeySelective(ItripTradeEnds record)throws  Exception;

    int updateByPrimaryKey(ItripTradeEnds record)throws  Exception;
}